{% extends "registration/base.html" %}

{% block title %}{% block header %}Register{% endblock %}{% endblock %}

{% block content %}
<p>Thank you for your interest in Matthew J. Scott Music Publishing!  Please register using the form below</p>
{% if form.errors %}
<div class="error">{{ form.errors }}</div>
{% endif %}
<div class="form">
    <form method="post" action="">
        <table>
            <tr>
                <th>{{ form.username.label_tag|title }}</th>
                <td>{{ form.username }}</td>
            </tr>
            <tr>
                <th>{{ form.email.label_tag|title }}</th>
                <td>{{ form.email }}</td>
            </tr>
            <tr>
                <th>{{ form.password1.label_tag|title }}</th>
                <td>{{ form.password1 }}</td>
            </tr>
            <tr>
                <th>{{ form.password2.label_tag|title }}</th>
                <td>{{ form.password2 }}</td>
            </tr>
            <tr>
                <td><input type="submit" value="Submit" /></td>
                <td><input type="reset" value="Reset Form" /></td>
            </tr>
        </table>
    </form>
</div>
{% endblock %}
